Skip to content

docs: point ReScript guidance to AffineScript - #72

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/rescript-to-affinescript
Nov 27, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
chore/rescript-to-affinescript

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Policy and advice text that recommended or allowed ReScript now names AffineScript, per the banned-language policy. Banned tables keep ReScript out of the allowed list. CI changes touch message text only; no check logic, globs or patterns changed.

Existing .res code, ReScript build config and vendored code are untouched. Prose that describes existing code is left as is.

Files changed:

  • .github/copilot-instructions.md
  • .machine_readable/ai/.clinerules
  • .machine_readable/ai/.cursorrules
  • .machine_readable/ai/.windsurfrules
  • docs/RSR_OUTLINE.adoc
  • docs/practice/AI-CONVENTIONS.adoc

Generated by Claude Code

@gitnotebooks

gitnotebooks Bot commented Nov 27, 2026

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Updated language guidance to recommend AffineScript instead of ReScript as an alternative to TypeScript.

AI instruction files and documentation now identify AffineScript instead of ReScript as the alternative to TypeScript. The RSR outline also lists AffineScript in Tier 1.

Changes: Language guidance

Layer / File(s) Summary
Update language guidance
.github/copilot-instructions.md, .machine_readable/ai/*, docs/RSR_OUTLINE.adoc, docs/practice/AI-CONVENTIONS.adoc
AI instructions and documentation replace ReScript with AffineScript in guidance about alternatives to TypeScript. The RSR outline also updates its Tier 1 language list.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Merge Risk: Minimal · up to 0456b

This is a documentation and guidance wording change with no runtime behavior impact. It is safe to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "docs: point ReScript guidance to AffineScript" matches the main change. The PR updates six documentation and AI-rule files so that AffineScript replaces ReScript as the allowed alternative …
Description check Passed The description summarises the change, lists the six changed files, and explains that existing ReScript code and build config are untouched. It omits the template's Changes bullets, the RSR Quality Ch…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "docs: point ReScript guidance to AffineScript" matches the main change. The PR updates six documentation and AI-rule files so that AffineScript replaces ReScript as the allowed alternative to TypeScript in banned-language guidance. The title is short, specific and uses a conventional docs: prefix.

Full details: Description check

Explanation

The description summarises the change, lists the six changed files, and explains that existing ReScript code and build config are untouched. It omits the template's Changes bullets, the RSR Quality Checklist, and the Testing section. It also does not link an issue. Most of the required content is present, so the check passes, but the checklist and testing sections are missing.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 62272e65-c1fc-4910-b198-9996de7d07db
Commits

Reviewing files that changed from the base of the PR and between f2d1ce2 and 0456bcb.

Files selected for processing: 6

  • .github/copilot-instructions.md
  • .machine_readable/ai/.clinerules
  • .machine_readable/ai/.cursorrules
  • .machine_readable/ai/.windsurfrules
  • docs/RSR_OUTLINE.adoc
  • docs/practice/AI-CONVENTIONS.adoc

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

Recent review details

Context from checks skipped due to timeout: 5

  • GitHub Check: CodeRabbit
  • GitHub Check: GitGuardian Security Checks
  • GitHub Check: semgrep-cloud-platform/scan
  • GitHub Check: analyze (actions, none)
  • GitHub Check: Hypatia Neurosymbolic Analysis
Additional context used

Learnings: 1

Common learnings

Learnt from: CR
Repo: hyperpolymath/pseudoscript

Timestamp: 2026-11-27T12:02:35.286Z
Learning: Source excerpt:
# Copilot Instructions

## Banned Languages

- No TypeScript (use AffineScript)
Additional comments: 1

.machine_readable/ai/.clinerules: 1

27-27: Functional Correctness

The comment asserts that agents receive conflicting ReScript instructions from the declared authoritative source. The inspected evidence contradicts this. The authoritative document docs/practice/AI-CONVENTIONS.adoc maps TypeScript to AffineScript at the reviewed head. The file docs/AI-CONVENTIONS.md does not exist at either revision, so it cannot retain the old mapping. No ReScript mapping remains in the declared source.

@sonarqubecloud

Copy link
Copy Markdown

@linear-code
linear-code Bot marked this pull request as ready for review November 27, 2026 12:04
@github-actions

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 85 issues detected

Severity Count
🔴 Critical 0
🟠 High 34
🟡 Medium 51
View findings
[
  {
    "reason": "Job `triage` in label-triage.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/label-triage.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "triage",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/label-triage.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "reason": "Job `sync` in labels.yml has no `timeout-minutes:` declaration. Default is 6 hours — a stuck codeload fetch or runner hang can burn budget. Add `timeout-minutes: 10` (or proportional).",
    "type": "missing_timeout_minutes",
    "file": ".github/workflows/labels.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "flag",
    "severity": "medium",
    "recipe_id": "recipe-add-workflow-timeout-minutes",
    "job": "sync",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/labels.yml",
          "start_line": 0,
          "end_line": 0
        },
        "rule": "workflow_audit/missing_timeout_minutes",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 14,
    "reason": "mirror.yml job `mirror-gitlab` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-gitlab",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 14,
          "end_line": 14
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 34,
    "reason": "mirror.yml job `mirror-bitbucket` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-bitbucket",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 34,
          "end_line": 34
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 54,
    "reason": "mirror.yml job `mirror-codeberg` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-codeberg",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 54,
          "end_line": 54
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 74,
    "reason": "mirror.yml job `mirror-sourcehut` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-sourcehut",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 74,
          "end_line": 74
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 94,
    "reason": "mirror.yml job `mirror-disroot` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-disroot",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 94,
          "end_line": 94
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 114,
    "reason": "mirror.yml job `mirror-gitea` force-pushes to a forge gated on *_MIRROR_ENABLED but nothing blocks a private source, so a private repo can be mirrored to a public forge copy. Add a guard that refuses (or skips with an error) when the source is private and the forge copy is not confirmed private; escalate when the forge's visibility cannot be read.",
    "type": "mirror_without_visibility_guard",
    "file": ".github/workflows/mirror.yml",
    "level": "epi",
    "rule_module": "workflow_audit",
    "action": "report",
    "severity": "high",
    "job": "mirror-gitea",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/mirror.yml",
          "start_line": 114,
          "end_line": 114
        },
        "rule": "workflow_audit/mirror_without_visibility_guard",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 44,
    "reason": "job `notify` in .github/workflows/push-email-notify.yml references `secrets.*` but does not install `step-security/harden-runner` or declare its egress — review outbound-egress monitoring",
    "type": "RE001",
    "file": ".github/workflows/push-email-notify.yml",
    "level": "epi",
    "rule_module": "research_extensions",
    "action": "report",
    "severity": "medium",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/push-email-notify.yml",
          "start_line": 44,
          "end_line": 44
        },
        "rule": "research_extensions/RE001",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  },
  {
    "line": 270,
    "reason": "job `scan` in .github/workflows/hypatia-scan.yml references `secrets.*` but does not install `step-security/harden-runner` or declare its egress — review outbound-egress monitoring; it holds the credential next to fetched code (a piped installer or a dependency install/build)",
    "type": "RE001",
    "file": ".github/workflows/hypatia-scan.yml",
    "level": "epi",
    "rule_module": "research_extensions",
    "action": "report",
    "severity": "medium",
    "evidence": [
      {
        "span": {
          "file": ".github/workflows/hypatia-scan.yml",
          "start_line": 270,
          "end_line": 270
        },
        "rule": "research_extensions/RE001",
        "observations": 1,
        "rule_version": "0.1.0"
      }
    ],
    "support": {
      "kind": "pattern"
    }
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath merged commit c1c4bce into main Nov 27, 2026
8 checks passed
@hyperpolymath
hyperpolymath deleted the chore/rescript-to-affinescript branch November 27, 2026 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants